<?php
$myfile = fopen("windows-cmd.txt", "r") or die("Unable to open file!");

while(!feof($myfile)) {
  echo fgets($myfile) . "<br>";
}
fclose($myfile);
?>